package cn.iocoder.yudao.module.shop.category.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 行业类目 Response VO")
@Data
public class ShopCategoryRespVO {

    @Schema(description = "分类编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private Long id;

    @Schema(description = "分类标识", example = "mall")
    private String code;

    @Schema(description = "父分类编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long parentId;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "办公文具")
    private String name;

    @Schema(description = "移动端分类图", requiredMode = Schema.RequiredMode.REQUIRED,example = "http://example.local/xx.png")
    private String iconUrl;

    @Schema(description = "跳转链接")
    private String linkUrl;

    @Schema(description = "保证金", example = "0")
    private Long depositPrice;

    @Schema(description = "是否推荐", example = "false")
    private Boolean recommend;

    @Schema(description = "分类排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer sort;

    @Schema(description = "层级深度", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer depth;

    @Schema(description = "开启状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer status;

    @Schema(description = "分类描述", example = "描述")
    private String description;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "供应方名称", example = "平台")
    private String supplyName;

    @Schema(description = "供应方关联编号", example = "0")
    private Long supplyRelatedId;

}
